<form id="detail-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}"  name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_shop_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_shop_id" class="form-control"  name="row[user_shop_name]" type="text" value="{$row.user_shop_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Detachment_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-detachment_id" class="form-control"  name="row[detachment_name]" type="text" value="{$row.detachment_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Captain_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-captain_id" class="form-control"  name="row[captain_name]" type="text" value="{$row.captain_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_staff_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_staff_id" class="form-control"  name="row[user_staff_name]" type="text" value="{$row.user_staff_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_staff_class_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_staff_class_id" class="form-control"  name="row[user_staff_class_name]" type="text" value="{$row.user_staff_class_name|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cases_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cases_type_name" class="form-control"  name="row[cases_type_name]" type="text" value="{$row.cases_type_name|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[starttime]" type="text" value="{$row.starttime}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accept_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accept_id" class="form-control"  name="row[accept_name]" type="text" value="{$row.accept_name|htmlentities}">

<!--            <input id="c-accept_id" data-rule="required" data-source="accept/index" class="form-control selectpage" name="row[accept_id]" type="text" value="{$row.accept_id|htmlentities}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verify_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-verify_content" class="form-control editor" rows="5" name="row[verify_content]" cols="50">{$row.verify_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verify_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-verify_images" class="form-control" size="50" name="row[verify_images]" type="text" value="{$row.verify_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-verify_images" class="btn btn-danger faupload" data-input-id="c-verify_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-verify_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-verify_images" class="btn btn-primary fachoose" data-input-id="c-verify_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-verify_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-verify_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_verify')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_verify" class="form-control selectpicker" name="row[is_verify]">
                {foreach name="isVerifyList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_verify"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verify_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-verify_money" class="form-control" step="0.01" name="row[verify_money]" type="number" value="{$row.verify_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_appear')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_appear" class="form-control selectpicker" name="row[is_appear]">
                {foreach name="isAppearList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_appear"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('关闭')}</button>
<!--            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
